package cn.xwt.weidisk.pojo.dto;

import java.util.Date;

/**
 * @author 薛慰涛
 * 用户信息
 */
public class UserData {
    private Long id;
    private String username;
    private String email;
    private Integer capacity;
    private Byte locked;
    private Date createTime;

    public UserData() {
    }

    public UserData(Long id, String username, String email, Integer capacity, Byte locked, Date createTime) {
        this.id = id;
        this.username = username;
        this.email = email;
        this.capacity = capacity;
        this.locked = locked;
        this.createTime = createTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getCapacity() {
        return capacity;
    }

    public void setCapacity(Integer capacity) {
        this.capacity = capacity;
    }

    public Byte getLocked() {
        return locked;
    }

    public void setLocked(Byte locked) {
        this.locked = locked;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "UserData{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", email='" + email + '\'' +
                ", capacity=" + capacity +
                ", locked=" + locked +
                ", createTime=" + createTime +
                '}';
    }
}
